$(function () {
    var nowDate = new Date();
    $(".time").html(nowDate.getFullYear() + "-" + (nowDate.getMonth()+ 1) + "-" + nowDate.getDate());
})

$("li").click(function () {
    $("li").css("background-color","#252830");
    $(this).css("background-color","#1997c6");
});